/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entity;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 *
 * @author WenYong
 */
@Entity(name = "VideoElement")
public class VideoElementEntity extends UnstructuredContentElementEntity implements Serializable {

    private String videoLink;

    public VideoElementEntity() {
        super();
    }

    public VideoElementEntity(Integer displayOrder, String name, String videoLink) {
        super(displayOrder, name);
        this.videoLink = videoLink;
    }

    /**
     * @return the videoLink
     */
    public String getVideoLink() {
        return videoLink;
    }

@Override
    public int hashCode() {
        int hash = 0;
        hash += (getId() != null ? getId().hashCode() : 0);
        return hash;
    }

    /**
     * @param videoLink the videoLink to set
     */
    public void setVideoLink(String videoLink) {
        this.videoLink = videoLink;
    }
}
